package com.bgs.service.impl;

import com.bgs.pojo.SocialDetails;
import com.bgs.mapper.SocialDetailsMapper;
import com.bgs.service.SocialDetailsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bgs.vo.SocialDetailsVo;
import com.bgs.vo.SocialDetailsVos;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 社保表 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2022-05-16
 */
@Service
public class SocialDetailsServiceImpl extends ServiceImpl<SocialDetailsMapper, SocialDetails> implements SocialDetailsService {

    @Override
    public List<SocialDetailsVo> findAllSocialDetails(SocialDetailsVos sVO) {
        return baseMapper.findAllSocialDetails(sVO);
    }

    @Override
    public boolean updateByPrimaryKeySelective(SocialDetails s) {
        return baseMapper.updateByPrimaryKeySelective(s);
    }
}
